package com.lening.mapper;

import com.lening.entity.CollegeBean;
import com.lening.entity.CollegeBeanExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CollegeMapper {
    long countByExample(CollegeBeanExample example);

    int deleteByExample(CollegeBeanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CollegeBean record);

    int insertSelective(CollegeBean record);

    List<CollegeBean> selectByExample(CollegeBeanExample example);

    CollegeBean selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CollegeBean record, @Param("example") CollegeBeanExample example);

    int updateByExample(@Param("record") CollegeBean record, @Param("example") CollegeBeanExample example);

    int updateByPrimaryKeySelective(CollegeBean record);

    int updateByPrimaryKey(CollegeBean record);
}